# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models
from RoleManager.models import SysRoleGroup

# Create your models here.


class SysAccount(models.Model):
    account_no = models.CharField(max_length=50)
    account_name = models.CharField(max_length=50)
    account_password = models.CharField(max_length=255)
    account_role = models.ForeignKey(SysRoleGroup)
    account_create_time = models.DateTimeField(auto_now_add=True)
